<template>
    <div v-if="visible" class="mask"></div>
</template>

<script setup>
defineProps({
    visible: {
        type: Boolean,
        default: true
    }
});
</script>

<style scoped>
.mask {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: #0000002b;
    z-index: 999;
}
</style>